<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NumCpp: DataCube.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NumCppLogoDoxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">NumCpp
   &#160;<span id="projectnumber">2.1.0</span>
   </div>
   <div id="projectbrief">A C++ implementation of the Python Numpy library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_data_cube_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">DataCube.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_data_cube_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_filesystem_8hpp.html">NumCpp/Core/Internal/Filesystem.hpp</a>&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_types_8hpp.html">NumCpp/Core/Types.hpp</a>&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_nd_array_8hpp.html">NumCpp/NdArray.hpp</a>&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;deque&gt;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;limits&gt;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacenc.html">nc</a></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;{</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="comment">//================================================================================</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html">   44</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classnc_1_1_data_cube.html">DataCube</a></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    {</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="comment">//================================Typedefs==================================</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a623df8fc48ba169d221b1c26249e5853">   48</a></span>&#160;        <span class="keyword">using</span> <a class="code" href="classnc_1_1_data_cube.html#a623df8fc48ba169d221b1c26249e5853">iterator</a> = <span class="keyword">typename</span> std::deque&lt;NdArray&lt;dtype&gt; &gt;<a class="code" href="classnc_1_1_data_cube.html#a623df8fc48ba169d221b1c26249e5853">::iterator</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a1ea7b9bd30731c3325545fbcd2678761">   49</a></span>&#160;        <span class="keyword">using</span> <a class="code" href="classnc_1_1_data_cube.html#a1ea7b9bd30731c3325545fbcd2678761">const_iterator</a> = <span class="keyword">typename</span> std::deque&lt;NdArray&lt;dtype&gt; &gt;<a class="code" href="classnc_1_1_data_cube.html#a1ea7b9bd30731c3325545fbcd2678761">::const_iterator</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_data_cube.html#a8224b613a7c87a16e06ef08d6f90926e">DataCube</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a7ae08af82b0553d2b294286bdf06703b">   61</a></span>&#160;<span class="comment"></span>        <span class="keyword">explicit</span> <a class="code" href="classnc_1_1_data_cube.html#a7ae08af82b0553d2b294286bdf06703b">DataCube</a>(<a class="code" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inSize) :</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;            cube_(inSize)</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        {};</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a8925f65b525c2b4fe04c711851b66828">   72</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#a8925f65b525c2b4fe04c711851b66828">at</a>(<a class="code" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inIndex)</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        {</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;            <span class="keywordflow">return</span> cube_.at(inIndex);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        }</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#ab78c6fc396ea087819cdef43f316da4e">   84</a></span>&#160;<span class="comment"></span>        <span class="keyword">const</span> <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#ab78c6fc396ea087819cdef43f316da4e">at</a>(<a class="code" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inIndex)<span class="keyword"> const</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="keyword">        </span>{</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;            <span class="keywordflow">return</span> cube_.at(inIndex);</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        }</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#abc8860c7c767170d003da447e7618bee">   94</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#abc8860c7c767170d003da447e7618bee">back</a>() noexcept </div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        {</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;            <span class="keywordflow">return</span> cube_.back();</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        }</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a430de05758db67815f957784b298b011">  104</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_data_cube.html#a623df8fc48ba169d221b1c26249e5853">iterator</a> <a class="code" href="classnc_1_1_data_cube.html#a430de05758db67815f957784b298b011">begin</a>() noexcept</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        {</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;            <span class="keywordflow">return</span> cube_.begin();</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        }</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#adee7aa24a04d84f83f4c76ef8dcec974">  114</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_data_cube.html#a1ea7b9bd30731c3325545fbcd2678761">const_iterator</a> <a class="code" href="classnc_1_1_data_cube.html#adee7aa24a04d84f83f4c76ef8dcec974">cbegin</a>() const noexcept</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        {</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;            <span class="keywordflow">return</span> cube_.cbegin();</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        }</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#abbaa9ebba302183cae3563c9eb371ee3">  124</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classnc_1_1_data_cube.html#abbaa9ebba302183cae3563c9eb371ee3">dump</a>(<span class="keyword">const</span> std::string&amp; inFilename)<span class="keyword"> const</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="keyword">        </span>{</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;            <a class="code" href="classnc_1_1filesystem_1_1_file.html">filesystem::File</a> <a class="code" href="namespacenc_1_1random.html#a00229c23da25284daf436c0a338ea25c">f</a>(inFilename);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;            <span class="keywordflow">if</span> (!<a class="code" href="namespacenc_1_1random.html#a00229c23da25284daf436c0a338ea25c">f</a>.hasExt())</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;            {</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;                <a class="code" href="namespacenc_1_1random.html#a00229c23da25284daf436c0a338ea25c">f</a>.withExt(<span class="stringliteral">&quot;bin&quot;</span>);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;            }</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;            std::ofstream ofile(<a class="code" href="namespacenc_1_1random.html#a00229c23da25284daf436c0a338ea25c">f</a>.fullName().c_str(), std::ios::binary);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;            <span class="keywordflow">if</span> (!ofile.good())</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;            {</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;                <a class="code" href="_error_8hpp.html#a0f0ce4acf1fd6032112a06ebc50bb05a">THROW_RUNTIME_ERROR</a>(<span class="stringliteral">&quot;Could not open the input file:\n\t&quot;</span> + inFilename);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;            }</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;            <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; ndarray : cube_)</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;            {</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;                ofile.write(<span class="keyword">reinterpret_cast&lt;</span><span class="keyword">const </span><span class="keywordtype">char</span>*<span class="keyword">&gt;</span>(ndarray.data()), ndarray.size() * <span class="keyword">sizeof</span>(dtype));</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;            }</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;            ofile.close();</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        }</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#ac569e0c62a9e5cbf21228b85128a53a5">  151</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">bool</span> <a class="code" href="classnc_1_1_data_cube.html#ac569e0c62a9e5cbf21228b85128a53a5">isempty</a>() noexcept </div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        {</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;            <span class="keywordflow">return</span> cube_.empty();</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        }</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a9aeac78f9aec9b69b9673c1e56778b1b">  161</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_data_cube.html#a623df8fc48ba169d221b1c26249e5853">iterator</a> <a class="code" href="classnc_1_1_data_cube.html#a9aeac78f9aec9b69b9673c1e56778b1b">end</a>() noexcept</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        {</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;            <span class="keywordflow">return</span> cube_.end();</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        }</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#aca3c0041f121ed92d47d1f2873f713e4">  171</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_data_cube.html#a1ea7b9bd30731c3325545fbcd2678761">const_iterator</a> <a class="code" href="classnc_1_1_data_cube.html#aca3c0041f121ed92d47d1f2873f713e4">cend</a>() const noexcept</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        {</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;            <span class="keywordflow">return</span> cube_.cend();</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        }</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a398373aeb2f3c9dd8df78f9eac1ca3d9">  181</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#a398373aeb2f3c9dd8df78f9eac1ca3d9">front</a>() noexcept </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        {</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;            <span class="keywordflow">return</span> cube_.front();</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        }</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160; </div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a1e7e4ce08e0c57abb661a8f95192173e">  191</a></span>&#160;<span class="comment"></span>        <span class="keyword">const</span> <a class="code" href="classnc_1_1_shape.html">Shape</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#a1e7e4ce08e0c57abb661a8f95192173e">shape</a>() const noexcept </div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        {</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;            <span class="keywordflow">return</span> elementShape_;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        }</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160; </div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a36da58aa8d2ba848746e744e82b87942">  201</a></span>&#160;<span class="comment"></span>        <a class="code" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> <a class="code" href="classnc_1_1_data_cube.html#a36da58aa8d2ba848746e744e82b87942">size</a>() const noexcept </div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        {</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><a class="code" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a><span class="keyword">&gt;</span>(cube_.size());</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        }</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a8e261e08fd074073771b98dc96726b0f">  209</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classnc_1_1_data_cube.html#a8e261e08fd074073771b98dc96726b0f">pop_back</a>() noexcept </div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        {</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;            cube_.pop_back();</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        }</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160; </div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a6dc8dc7e3b15240d42baeac1fa9bdab4">  217</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classnc_1_1_data_cube.html#a6dc8dc7e3b15240d42baeac1fa9bdab4">pop_front</a>() noexcept </div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        {</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;            cube_.pop_front();</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        }</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160; </div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a00f652afe3e8734f7d0707b12afd6a65">  227</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classnc_1_1_data_cube.html#a00f652afe3e8734f7d0707b12afd6a65">push_back</a>(<span class="keyword">const</span> <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray)</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        {</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;            <span class="keyword">const</span> <a class="code" href="classnc_1_1_shape.html">Shape</a> inputShape = inArray.<a class="code" href="classnc_1_1_nd_array.html#a2d1b4adfe3c9897ffe3dca45e357b2b4">shape</a>();</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160; </div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;            <span class="keywordflow">if</span> (elementShape_.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a> == 0 &amp;&amp; elementShape_.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a> == 0)</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;            {</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;                <span class="comment">// initialize to the first input array size</span></div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;                elementShape_.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a> = inputShape.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a>;</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;                elementShape_.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a> = inputShape.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a>;</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;            }</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;            <span class="keywordflow">if</span> (inputShape != elementShape_)</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;            {</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;                <a class="code" href="_error_8hpp.html#af2aff1172060367b9c5398fa097fa8fd">THROW_INVALID_ARGUMENT_ERROR</a>(<span class="stringliteral">&quot;element arrays must all be the same shape&quot;</span>);</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;            }</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160; </div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;            cube_.push_back(inArray);</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        }</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160; </div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a320959d355bddd6993d851cf67a0f88d">  251</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classnc_1_1_data_cube.html#a320959d355bddd6993d851cf67a0f88d">push_front</a>(<span class="keyword">const</span> <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray)</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        {</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;            <span class="keyword">const</span> <a class="code" href="classnc_1_1_shape.html">Shape</a> inputShape = inArray.<a class="code" href="classnc_1_1_nd_array.html#a2d1b4adfe3c9897ffe3dca45e357b2b4">shape</a>();</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160; </div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;            <span class="keywordflow">if</span> (elementShape_.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a> == 0 &amp;&amp; elementShape_.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a> == 0)</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;            {</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;                <span class="comment">// initialize to the first input array size</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;                elementShape_.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a> = inputShape.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a>;</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;                elementShape_.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a> = inputShape.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a>;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;            }</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160; </div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;            <span class="keywordflow">if</span> (inputShape != elementShape_)</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;            {</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;                <a class="code" href="_error_8hpp.html#af2aff1172060367b9c5398fa097fa8fd">THROW_INVALID_ARGUMENT_ERROR</a>(<span class="stringliteral">&quot;element arrays must all be the same shape.&quot;</span>);</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;            }</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160; </div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;            cube_.push_front(inArray);</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;        }</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160; </div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a1a16b98e982d79cc6a172b8e2bfad856">  277</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#a1a16b98e982d79cc6a172b8e2bfad856">operator[]</a>(<a class="code" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inIndex) noexcept </div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;        {</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;            <span class="keywordflow">return</span> cube_[inIndex];</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;        }</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160; </div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;        <span class="comment">//============================================================================</span></div>
<div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a403c0b0df22fc5fa0858109fa7a65f87">  289</a></span>&#160;<span class="comment"></span>        <span class="keyword">const</span> <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#a403c0b0df22fc5fa0858109fa7a65f87">operator[]</a>(<a class="code" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inIndex) <span class="keyword">const</span> noexcept</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;        {</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;            <span class="keywordflow">return</span> cube_[inIndex];</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        }</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160; </div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    <span class="keyword">private</span>:</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        <span class="comment">//================================Attributes==================================</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;        std::deque&lt;NdArray&lt;dtype&gt; &gt;     cube_{};</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        Shape                           elementShape_{ 0, 0 };</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    };</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;}  <span class="comment">// namespace nc</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassnc_1_1_nd_array_html_a2d1b4adfe3c9897ffe3dca45e357b2b4"><div class="ttname"><a href="classnc_1_1_nd_array.html#a2d1b4adfe3c9897ffe3dca45e357b2b4">nc::NdArray::shape</a></div><div class="ttdeci">Shape shape() const noexcept</div><div class="ttdef"><b>Definition:</b> NdArrayCore.hpp:4312</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a7ae08af82b0553d2b294286bdf06703b"><div class="ttname"><a href="classnc_1_1_data_cube.html#a7ae08af82b0553d2b294286bdf06703b">nc::DataCube::DataCube</a></div><div class="ttdeci">DataCube(uint32 inSize)</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:61</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a8224b613a7c87a16e06ef08d6f90926e"><div class="ttname"><a href="classnc_1_1_data_cube.html#a8224b613a7c87a16e06ef08d6f90926e">nc::DataCube::DataCube</a></div><div class="ttdeci">DataCube()=default</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a9aeac78f9aec9b69b9673c1e56778b1b"><div class="ttname"><a href="classnc_1_1_data_cube.html#a9aeac78f9aec9b69b9673c1e56778b1b">nc::DataCube::end</a></div><div class="ttdeci">iterator end() noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:161</div></div>
<div class="ttc" id="aclassnc_1_1_nd_array_html"><div class="ttname"><a href="classnc_1_1_nd_array.html">nc::NdArray&lt; dtype &gt;</a></div></div>
<div class="ttc" id="anamespacenc_html_af0f49663fb63332596e2e6327009d581"><div class="ttname"><a href="namespacenc.html#af0f49663fb63332596e2e6327009d581">nc::uint32</a></div><div class="ttdeci">std::uint32_t uint32</div><div class="ttdef"><b>Definition:</b> Types.hpp:41</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_abc8860c7c767170d003da447e7618bee"><div class="ttname"><a href="classnc_1_1_data_cube.html#abc8860c7c767170d003da447e7618bee">nc::DataCube::back</a></div><div class="ttdeci">NdArray&lt; dtype &gt; &amp; back() noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:94</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_ac569e0c62a9e5cbf21228b85128a53a5"><div class="ttname"><a href="classnc_1_1_data_cube.html#ac569e0c62a9e5cbf21228b85128a53a5">nc::DataCube::isempty</a></div><div class="ttdeci">bool isempty() noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:151</div></div>
<div class="ttc" id="a_nd_array_8hpp_html"><div class="ttname"><a href="_nd_array_8hpp.html">NdArray.hpp</a></div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_abbaa9ebba302183cae3563c9eb371ee3"><div class="ttname"><a href="classnc_1_1_data_cube.html#abbaa9ebba302183cae3563c9eb371ee3">nc::DataCube::dump</a></div><div class="ttdeci">void dump(const std::string &amp;inFilename) const</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:124</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a6dc8dc7e3b15240d42baeac1fa9bdab4"><div class="ttname"><a href="classnc_1_1_data_cube.html#a6dc8dc7e3b15240d42baeac1fa9bdab4">nc::DataCube::pop_front</a></div><div class="ttdeci">void pop_front() noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:217</div></div>
<div class="ttc" id="aclassnc_1_1_shape_html"><div class="ttname"><a href="classnc_1_1_shape.html">nc::Shape</a></div><div class="ttdoc">A Shape Class for NdArrays.</div><div class="ttdef"><b>Definition:</b> Core/Shape.hpp:41</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a36da58aa8d2ba848746e744e82b87942"><div class="ttname"><a href="classnc_1_1_data_cube.html#a36da58aa8d2ba848746e744e82b87942">nc::DataCube::size</a></div><div class="ttdeci">uint32 size() const noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:201</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a398373aeb2f3c9dd8df78f9eac1ca3d9"><div class="ttname"><a href="classnc_1_1_data_cube.html#a398373aeb2f3c9dd8df78f9eac1ca3d9">nc::DataCube::front</a></div><div class="ttdeci">NdArray&lt; dtype &gt; &amp; front() noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:181</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a1ea7b9bd30731c3325545fbcd2678761"><div class="ttname"><a href="classnc_1_1_data_cube.html#a1ea7b9bd30731c3325545fbcd2678761">nc::DataCube::const_iterator</a></div><div class="ttdeci">typename std::deque&lt; NdArray&lt; dtype &gt; &gt;::const_iterator const_iterator</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:49</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a403c0b0df22fc5fa0858109fa7a65f87"><div class="ttname"><a href="classnc_1_1_data_cube.html#a403c0b0df22fc5fa0858109fa7a65f87">nc::DataCube::operator[]</a></div><div class="ttdeci">const NdArray&lt; dtype &gt; &amp; operator[](uint32 inIndex) const noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:289</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html"><div class="ttname"><a href="classnc_1_1_data_cube.html">nc::DataCube</a></div><div class="ttdoc">Convenience container for holding a uniform array of NdArrays.</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:44</div></div>
<div class="ttc" id="aclassnc_1_1_shape_html_aae1a3c997648aacaefb60d0e6d0bf10d"><div class="ttname"><a href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">nc::Shape::cols</a></div><div class="ttdeci">uint32 cols</div><div class="ttdef"><b>Definition:</b> Core/Shape.hpp:46</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_ab78c6fc396ea087819cdef43f316da4e"><div class="ttname"><a href="classnc_1_1_data_cube.html#ab78c6fc396ea087819cdef43f316da4e">nc::DataCube::at</a></div><div class="ttdeci">const NdArray&lt; dtype &gt; &amp; at(uint32 inIndex) const</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:84</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_aca3c0041f121ed92d47d1f2873f713e4"><div class="ttname"><a href="classnc_1_1_data_cube.html#aca3c0041f121ed92d47d1f2873f713e4">nc::DataCube::cend</a></div><div class="ttdeci">const_iterator cend() const noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:171</div></div>
<div class="ttc" id="a_error_8hpp_html_a0f0ce4acf1fd6032112a06ebc50bb05a"><div class="ttname"><a href="_error_8hpp.html#a0f0ce4acf1fd6032112a06ebc50bb05a">THROW_RUNTIME_ERROR</a></div><div class="ttdeci">#define THROW_RUNTIME_ERROR(msg)</div><div class="ttdef"><b>Definition:</b> Error.hpp:38</div></div>
<div class="ttc" id="a_filesystem_8hpp_html"><div class="ttname"><a href="_filesystem_8hpp.html">Filesystem.hpp</a></div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a1e7e4ce08e0c57abb661a8f95192173e"><div class="ttname"><a href="classnc_1_1_data_cube.html#a1e7e4ce08e0c57abb661a8f95192173e">nc::DataCube::shape</a></div><div class="ttdeci">const Shape &amp; shape() const noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:191</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a320959d355bddd6993d851cf67a0f88d"><div class="ttname"><a href="classnc_1_1_data_cube.html#a320959d355bddd6993d851cf67a0f88d">nc::DataCube::push_front</a></div><div class="ttdeci">void push_front(const NdArray&lt; dtype &gt; &amp;inArray)</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:251</div></div>
<div class="ttc" id="anamespacenc_html"><div class="ttname"><a href="namespacenc.html">nc</a></div><div class="ttdef"><b>Definition:</b> Coordinate.hpp:45</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a00f652afe3e8734f7d0707b12afd6a65"><div class="ttname"><a href="classnc_1_1_data_cube.html#a00f652afe3e8734f7d0707b12afd6a65">nc::DataCube::push_back</a></div><div class="ttdeci">void push_back(const NdArray&lt; dtype &gt; &amp;inArray)</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:227</div></div>
<div class="ttc" id="aclassnc_1_1_shape_html_a6f89f699dea6eb89eef19e00c92b223a"><div class="ttname"><a href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">nc::Shape::rows</a></div><div class="ttdeci">uint32 rows</div><div class="ttdef"><b>Definition:</b> Core/Shape.hpp:45</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a1a16b98e982d79cc6a172b8e2bfad856"><div class="ttname"><a href="classnc_1_1_data_cube.html#a1a16b98e982d79cc6a172b8e2bfad856">nc::DataCube::operator[]</a></div><div class="ttdeci">NdArray&lt; dtype &gt; &amp; operator[](uint32 inIndex) noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:277</div></div>
<div class="ttc" id="a_error_8hpp_html_af2aff1172060367b9c5398fa097fa8fd"><div class="ttname"><a href="_error_8hpp.html#af2aff1172060367b9c5398fa097fa8fd">THROW_INVALID_ARGUMENT_ERROR</a></div><div class="ttdeci">#define THROW_INVALID_ARGUMENT_ERROR(msg)</div><div class="ttdef"><b>Definition:</b> Error.hpp:37</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a623df8fc48ba169d221b1c26249e5853"><div class="ttname"><a href="classnc_1_1_data_cube.html#a623df8fc48ba169d221b1c26249e5853">nc::DataCube::iterator</a></div><div class="ttdeci">typename std::deque&lt; NdArray&lt; dtype &gt; &gt;::iterator iterator</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:48</div></div>
<div class="ttc" id="a_types_8hpp_html"><div class="ttname"><a href="_types_8hpp.html">Types.hpp</a></div></div>
<div class="ttc" id="anamespacenc_1_1random_html_a00229c23da25284daf436c0a338ea25c"><div class="ttname"><a href="namespacenc_1_1random.html#a00229c23da25284daf436c0a338ea25c">nc::random::f</a></div><div class="ttdeci">dtype f(dtype inDofN, dtype inDofD)</div><div class="ttdef"><b>Definition:</b> f.hpp:58</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_adee7aa24a04d84f83f4c76ef8dcec974"><div class="ttname"><a href="classnc_1_1_data_cube.html#adee7aa24a04d84f83f4c76ef8dcec974">nc::DataCube::cbegin</a></div><div class="ttdeci">const_iterator cbegin() const noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:114</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a8925f65b525c2b4fe04c711851b66828"><div class="ttname"><a href="classnc_1_1_data_cube.html#a8925f65b525c2b4fe04c711851b66828">nc::DataCube::at</a></div><div class="ttdeci">NdArray&lt; dtype &gt; &amp; at(uint32 inIndex)</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:72</div></div>
<div class="ttc" id="aclassnc_1_1filesystem_1_1_file_html"><div class="ttname"><a href="classnc_1_1filesystem_1_1_file.html">nc::filesystem::File</a></div><div class="ttdoc">Provides simple filesystem functions.</div><div class="ttdef"><b>Definition:</b> Filesystem.hpp:40</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a430de05758db67815f957784b298b011"><div class="ttname"><a href="classnc_1_1_data_cube.html#a430de05758db67815f957784b298b011">nc::DataCube::begin</a></div><div class="ttdeci">iterator begin() noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:104</div></div>
<div class="ttc" id="aclassnc_1_1_data_cube_html_a8e261e08fd074073771b98dc96726b0f"><div class="ttname"><a href="classnc_1_1_data_cube.html#a8e261e08fd074073771b98dc96726b0f">nc::DataCube::pop_back</a></div><div class="ttdeci">void pop_back() noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:209</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_34171bd951b13a53aa9f237277a18e40.html">NumCpp</a></li><li class="navelem"><a class="el" href="dir_a0b3eef1c4a290b815c33ad6e7027cf3.html">Core</a></li><li class="navelem"><a class="el" href="_data_cube_8hpp.html">DataCube.hpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
